package com.shaw.workrecord.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author jiangjunhui
 * @description
 * @date 2022/9/15 10:10
 */
@Data
@TableName("room")
public class Room {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;
    @TableField("remark")
    private String remark;
    @TableField("game_type")
    private Integer gameType;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;
}
